package org.theSeed.demo;

import org.springframework.cache.annotation.CachePut;
import org.springframework.stereotype.Service;

@Service
public class RedisTestService {
    @CachePut(value = "dept",key = "#id")
    public String test1(Integer id){
        return "test";
    }
}
